//
//  UIColor-Extension.swift
//  DHLive
//
//  Created by Mac on 2021/6/28.
//

import Foundation
import UIKit
extension UIColor {
   class var randomColor: UIColor {
        get {
            UIColor(red: CGFloat(arc4random_uniform(255)) / 255.0, green: CGFloat(arc4random_uniform(255)) / 255.0, blue: CGFloat(arc4random_uniform(255)) / 255.0, alpha: 1.0)
        }
    }
}
